package com.ruoyi.cat.domain.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.cat.domain.CatArticlegiftTable;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ArticletaskVO {

    @ApiModelProperty(name = "文章标题")
    private String articleTitle;

    @ApiModelProperty(name = "承办方")
    private String organizer;

    @ApiModelProperty(name = "文章内容,这里上传图片的时候会有转义字符保存会失败,需要处理一下")
    private String articleContent;

    @ApiModelProperty(name = "用户信息表外键")
    private Long userId;

    @ApiModelProperty(name = "省")
    private String province;

    /** 市 */
    @ApiModelProperty(name = "市")
    private String City;

    /** 区 */
    @ApiModelProperty(name = "区")
    private String area;

    /** 经度 */
    @ApiModelProperty(name = "经度")
    private String longitude;

    /** 纬度 */
    @ApiModelProperty(name = "纬度")
    private String latitude;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "结束时间")
    private Date endTime;

    @ApiModelProperty(name = "礼品数组,字段跟pc端一样")
    private List<CatArticlegiftTable> catArticlegiftTableList;

    @ApiModelProperty(name = "订单Id")
    private String orderNo;
}
